Provided the current Performance Metrics Application Programming
Interface (PMAPI) context, is associated with an archive log,
ppppmmmmGGGGeeeettttIIIInnnnDDDDoooommmmAAAArrrrcccchhhhiiiivvvveeee will scan the union of all the instance domain metadata
for the instance domain _i_n_d_o_m, and return via _i_n_s_t_l_i_s_t the internal
instance identifiers for all instances, and via _n_a_m_e_l_i_s_t the full
external identifiers for all instances.
This routine is an specialized version of the more general PMAPI routine
ppppmmmmGGGGeeeettttIIIInnnnDDDDoooommmm.
The number of instances found is returned as the function value (else
less than zero to indicate an error).
The value for the instance domain _i_n_d_o_m is typically extracted from a
_p_m_D_e_s_c structure, following a call to ppppmmmmLLLLooooooookkkkuuuuppppDDDDeeeesssscccc(3) for a particular
performance metric.
The resulting lists of instance identifiers (_i_n_s_t_l_i_s_t and _n_a_m_e_l_i_s_t), and
the names that the elements of _n_a_m_e_l_i_s_t point to, will have been
allocated by ppppmmmmGGGGeeeettttIIIInnnnDDDDoooommmmAAAArrrrcccchhhhiiiivvvveeee with two calls to mmmmaaaalllllllloooocccc(3C), and it is
the responsibility of the caller to _f_r_e_e(_i_n_s_t_l_i_s_t) and _f_r_e_e(_n_a_m_e_l_i_s_t) to
release the space when it is no longer required.
When the result of ppppmmmmGGGGeeeettttIIIInnnnDDDDoooommmmAAAArrrrcccchhhhiiiivvvveeee is less than one, both _i_n_s_t_l_i_s_t and
_n_a_m_e_l_i_s_t are undefined (no space will have been allocated, and so calling
ffffrrrreeeeeeee(3C) is a singularly bad idea).
SSSSEEEEEEEE AAAALLLLSSSSOOOO
PPPPMMMMAAAAPPPPIIII(3), ppppmmmmGGGGeeeettttIIIInnnnDDDDoooommmm(3), ppppmmmmLLLLooooooookkkkuuuuppppDDDDeeeesssscccc(3), ppppmmmmLLLLooooooookkkkuuuuppppIIIInnnnDDDDoooommmmAAAArrrrcccchhhhiiiivvvveeee(3) and